<block name="phpscript">
<include file="theme/functions"/>

</block><extend name="public@emptypage" />
<block name="content">
<div class="card">
	<div class="card-header card-header-primary">

    		<ul class="nav nav-tabs" data-tabs="tabs">
			<li class="nav-item">
				<a class="nav-link" href="{:url('theme/fileArrayData',['tab'=>$tab,'var'=>$var,'file_id'=>$file_id,'widget'=>$widget])}">所有数据</a>
			</li>
		</ul>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div class="card-body">
			
			    <form method="post" class="js-ajax-form margin-top-20"
			          action="{:url('theme/fileArrayDataEditPost',['tab'=>$tab,'var'=>$var,'file_id'=>$file_id,'widget'=>$widget])}">
			        {:_parse_vars($array_item,'item',2)}
			        <div class="form-group" style="display: none;">
			            <input type="hidden" name="item_index" value="{$item_index}">
			            <button type="submit" class="btn btn-primary js-ajax-submit" id="submit-btn">保存</button>
			        </div>
			    </form>

			</div>
		</div>
	</div>
</block>
<block name="script">

<include file="theme/scripts"/>

</block>